<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../static/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../static/layuiadmin/style/admin.css" media="all">
</head>

<body style="padding: 20px">
<form class="layui-form" action="">
    <div class="layui-inline" >
        <div class="layui-inline" >
            <div   class="layui-input-inline" style="margin-left: 20px">
                <a data-method="notice" id="faceRec" class="layui-btn layui-btn-xs" lay-event="faceRec">人脸识别</a>
            </div>
            <div   class="layui-input-inline" style="margin-left: 20px">
                <a data-method="notice" id="add" class="layui-btn layui-btn-xs" lay-event="add">添加用户</a>
            </div>
        </div>
    </div>

</form>
<script id="switch" type="text/html">
    <!-- 这里的 checked 的状态是-->
    <input type="checkbox"  name = "status"  swichid="{{d.id}}"  value = '{{d.status}}' lay-skin="switch" lay-text="激活|禁用" lay-filter="status-filter"  {{ d.status == 1 ? 'checked' : '' }}>
</script>
<script type="text/html" id="barDemo">
    {{# if(d.faceStatus !=1 ) { }}
    <a  id="faceReg"  class="layui-btn layui-btn-xs" lay-event="faceReg">人脸注册</a>
    {{# } }}
    <a  id="lock"  class="layui-btn layui-btn-xs" lay-event="edit">修改</a>
    <a    class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">刪除</a>
</script>
<table  id="userList" lay-filter="userList"></table>

<script src="../../static/js/zoneCommonJs/jquery.min.js"></script>
<script src="../../static/js/zoneCommonJs/jquery.cookie.js"></script>
<script src="../../static/layuiadmin/layui/layui.js"></script>
<script src="../../static/js/zoneCommonJs/common.js"></script>
<script src="../../static/js/user/userList.js"></script>
</body>
</html>